package com.grape.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * 类描述： NoticeEvent类
 *
 * @author putao
 * @email 2628249194@qq.com
 */
@Getter
public class NoticeEvent extends ApplicationEvent implements BaseEvent<String> {

    /**
     * 消息
     */
    private final String message;

    public NoticeEvent(String source) {
        super(source);
        this.message = source;
    }
}
